@charset "utf-8";
@import "var";

// *********************** slider ***********************
#slider {

}

.slider-body {
  position: relative;
  //background-image: url("/yunzhuVue/image/index/img2.jpg");
  //background-position: center top;
  //background-repeat: no-repeat;
  //background-size: cover;
  background-color: #00AA91;

  //&:after {
  //  z-index: 1;
  //  content: '';
  //  position: absolute;
  //  top: 0;
  //  left: 0;
  //  right: 0;
  //  bottom: 0;
  //  margin: auto;
  //  background-color: rgba(0,0,0,0);
  //}

  .slider-ct {
    padding: 100px 0;

    .slider-intro {
      float: left;
    }

    .slider-btn {
      float: right;
      display: block;
      height: 50px;
      line-height: 50px;
      border-radius: 4px;
      width: 250px;
      text-align: center;
      text-indent: 2px;
      letter-spacing: 2px;
      color: #FFF;
      border: 1px solid #FFF;
      background-color: #5CBD30;
      font-size: 18px;
    }
  }
}


// *********************** slider ***********************
#slt-menu {
  padding: 50px 0 0;
  text-align: center;
}

// 一级菜单
.slt-mn-parent {
  border: 1px solid #5CBD30;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  border-radius: 50px;
  text-align: center;
  overflow: hidden;

  .slt-mn-pt-btn {
    width: 150px;
    float: left;
    font-size: 16px;
    text-indent: 2px;
    letter-spacing: 2px;
    color: #000;
    @extend .animate-default;

    &:hover {
      color: #FFF;
      background-color: #5CBD30;
    }
  }

  .slt-mn-pt-btn-actv {
    color: #FFF;
    background-color: #5CBD30;
  }
}

//二级菜单
.slt-mn-child {
  margin: 50px 0;
  padding: 20px;
  border: 1px solid #000;
  text-align: left;
  @extend .border-box;

  .classify {
    margin-bottom: 30px;

    &:last-child {
      margin-bottom: 0;
    }

    label {
      display: table-cell;
      white-space: nowrap;
      width: 120px;
    }

    .clfy-detail {
      display: table-cell;

      a {
        display: inline-block;
        margin: 0 20px 10px;
        color: #000;

        &:hover {
          color: #5CBD30;
        }
      }

      .clfy-detail-actv {
        color: #5CBD30;
      }
    }
  }
}


// *********************** crumb ***********************
#crumb {

  .crumb-body {
    padding: 20px;
    border: 1px solid #000;

    .crumb-slt {
      float: left;
      padding-left: 40px;
      margin-top: 4px;
      position: relative;

      &:before {
        content: '';
        position: absolute;
        left: 0;
        top: -2px;
        width: 28px;
        height: 28px;
        background-image: url("/yunzhuVue/image/task/slt.svg");
        background-repeat: no-repeat;
        background-position: 50%;
        background-size: 100%;
      }

      a {
        color: #000;
        display: inline-block;
        margin-right: 10px;
        position: relative;

        &:after {
          content: '';
          position: absolute;
          right: -8px;
          top: 0;
          height: 100%;
          width: 1px;
          background-color: #000;
        }

        &:last-child {
          &:after {
            content: none;
          }
        }

        &:hover {
          color: #5CBD30;
        }

        img {
          height: 20px;
          margin-left: -8px;
          vertical-align: text-bottom;
        }
      }
    }
  }
}

// 选择省市
.crumb-city {
  float: right;

  select {
    padding: 6px;
    border-radius: 4px;
    outline: none;
    border: 1px solid #999;

    option {
      height: 28px !important;
    }
  }
}


// *********************** self-service ***********************
#self-service {
  padding: 50px 0;
}

.service-com {
  position: relative;
  float: left;
  padding: 50px 10px;
  outline: 1px solid #000;
  width: 280px;
  height: 350px;
  margin-right: 26px;
  margin-bottom: 50px;
  overflow: hidden;
  @extend .border-box;

  &:hover {
    outline: 4px solid #5CBD30;

    .service-detail {
      top: 0;
    }
  }

  &:nth-child(4n) {
    margin-right: 0;
  }

  .service-tag {
    z-index: 10;
    position: absolute;
    top: 8px;
    right: 10px;
    overflow: hidden;

    p {
      display: inline-block;
      font-size: 12px;
      text-align: center;
      padding: 2px 10px;
      border-radius: 4px;
      color: #FFF;
      background-color: #5CBD30;
    }
  }

  .service-img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;

    img {
      width: 100%;
      vertical-align: middle;
    }
  }

  .service-ct {
    text-align: center;
    margin-top: 20px;

    h2 {
      font-size: 20px;
      text-overflow: ellipsis;
    }

    .service-intro {
      font-size: 16px;
      margin: 10px 0;
      text-overflow: ellipsis;
    }

    .service-local {
      padding-left: 20px;
      margin: 10px 0;
      display: inline-block;
      font-size: 14px;
      position: relative;

      &:before {
        content: '';
        z-index: 10;
        position: absolute;
        top: -4px;
        left: -4px;
        width: 24px;
        height: 24px;
        background-image: url("/yunzhuVue/image/adrs.svg");
        background-repeat: no-repeat;
        background-position: 50%;
        background-size: 100%;
      }
    }

    .intro-tag {

      .intro-tag-body {
        position: relative;
        padding-left: 20px;
        display: inline-block;

        span {
          float: left;
          display: inline-block;
          margin: 0 10px 4px;
          font-size: 12px;
        }

        &:before {
          content: '';
          z-index: 10;
          position: absolute;
          top: 0;
          left: 0;
          width: 18px;
          height: 18px;
          background-image: url("/yunzhuVue/image/sv-tag.svg");
          background-repeat: no-repeat;
          background-position: 50%;
          background-size: 100%;
        }
      }
    }
  }

  .service-foot {
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    @extend .border-box;

    .sv-ft-body {
      font-size: 12px;

      .scs-task {
        float: left;
        padding-left: 20px;
        position: relative;

        &:before {
          content: '';
          z-index: 10;
          position: absolute;
          top: 0;
          left: 0;
          width: 16px;
          height: 16px;
          background-image: url("/yunzhuVue/image/sv-tag.svg");
          background-repeat: no-repeat;
          background-position: 50%;
          background-size: 100%;
        }
      }

      .income {
        float: right;
        padding-left: 20px;
        position: relative;

        &:before {
          content: '';
          z-index: 10;
          position: absolute;
          top: 0;
          left: 0;
          width: 16px;
          height: 16px;
          background-image: url("/yunzhuVue/image/sv-tag.svg");
          background-repeat: no-repeat;
          background-position: 50%;
          background-size: 100%;
        }
      }
    }
  }
}

// 看板hover时显示
.service-detail {
  z-index: 20;
  position: absolute;
  top: 350px;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  background-color: #FFF;
  @extend .border-box;
  @extend .animate-default;
}

.service-detail-body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;

  .sv-dt-score {
    text-align: center;
    margin: 30px 0;

    .star-score {
      display: inline-block;
      strong {
        font-size: 20px;
        vertical-align: sub;
      }

      i {
        float: left;
        width: 30px;
        height: 30px;
        background-image: url("/yunzhuVue/image/score.svg");
        background-repeat: no-repeat;
        background-position: 50%;
        background-size: 100%;
      }
    }

    .percent-score {
      font-size: 16px;
      margin-top: 10px;

      strong {
        font-size: 22px;
        margin-right: 10px;
      }
    }
  }

  // ft内容
  .sv-dt-intro {
    height: 140px;
    line-height: 1.5;
    overflow: hidden;
    position: relative;

    &:after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 20px;
      background: url(/yunzhuVue/image/ellipsis_bg.png) repeat-y;
    }
  }


  // the footer
  .sv-dt-ft {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    .sv-dt-ft-body {

      .keep {
        float: left;
        cursor: pointer;
        margin-top: 8px;

        img {
          width: 24px;
          height: 24px;
          margin-right: 10px;
          vertical-align: bottom;
        }
      }

      a {
        float: right;
        display: block;
        padding: 8px 16px;
        border-radius: 4px;
        text-align: center;
        text-indent: 2px;
        letter-spacing: 2px;
        color: #FFF;
        border: 1px solid #FFF;
        background-color: #5CBD30;
        font-size: 16px;
      }
    }
  }
}
















